package codeGenerator;

/**
 * @author : chub
 * @version : V1.0.0
 * @fileName : MessageBuilder.java
 * @description : TODO
 * @createTime : 2022-10-21 16:00
 */
public class MessageBuilder {
    public String getMessage(String name) {
        StringBuilder result = new StringBuilder();
        if (name == null || name.trim().length() == 0) {
            result.append("empty!");
        } else {
            result.append("Hello " + name);
        }
        return result.toString();
    }
}
